libxenguest: correct order of zlib linker options to avoid link errors
authorOlaf Hering <olaf@aepfle.de>
Mon, 26 Jul 2010 10:24:51 +0000 (11:24 +0100)
committerOlaf Hering <olaf@aepfle.de>
Mon, 26 Jul 2010 10:24:51 +0000 (11:24 +0100)
commit2369c119530abde03e9195e7f22cf2b401e31f31
tree000ac6f1b5e8dfcec1b57d15d3aed155dfec961d
parentfd452d0f6493416332ca1dd91b8450003a05563e
libxenguest: correct order of zlib linker options to avoid link errors

The order of objects and linked libraries is important with recent
toolchain when --as-needed is used.

Introduce new variable COMPRESSION_LIBS and place it at the end of cc
commandline options.  Without this change, symbols in libbzip2 are not
found when building with openSuSE 11.2 and newer.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/Makefile